package com.dmap.community.service.community;

import com.dmap.community.bo.theme.ShowThemeBo;
import com.dmap.community.controller.app.param.ThemeParam;

import java.util.List;

/**
 * \* User: silent
 * \* Date: 14/11/17 Time: 10:16
 * \* Description:
 * \
 */
public interface ThemeService {

    int insertTheme(ThemeParam param);

    int deleteTheme(long themeId);

    int countPostThemeNumber(long userId);


    List<ShowThemeBo> showThemeListByType(int type, int pageIndex, int pageSize);

    List<ShowThemeBo> showThemeListByUserId(long userId, int pageIndex, int pageSize);

    ShowThemeBo selectThemeByThemeId(long themeId);

    List<ShowThemeBo> selectThemeListByThemeIds(List<Long> themeIds);

}
